package com.example.basic.web.request;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.basic.base.IdEntity;
import com.example.basic.base.event.PreCreateEventEntity;
import com.example.basic.base.event.PreUpdateEventEntity;
import com.example.basic.utils.CommonConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * <p>
 * 库位新增模型
 * </p>
 *
 * @roleor zzl
 * @since 2024-3-14
 */
@Data
public class ZoneDepotRequest{

    @ApiModelProperty(value = "仓库编码")
    @NotBlank(message = "仓库编码不能为空")
    private String pharmCode;

    @ApiModelProperty(value = "库区编码")
    @NotBlank(message = "库区编码不能为空")
    private String zoneCode;

    @ApiModelProperty(value = "层数")
    @NotNull(message = "层数不能为空")
    @Min(1)
    private Integer layerNum;

    @ApiModelProperty(value = "行数")
    @NotNull(message = "行数不能为空")
    @Min(1)
    private Integer rowsNum;

    @ApiModelProperty(value = "列数")
    @NotNull(message = "列数不能为空")
    @Min(1)
    private Integer columnNum;
}